package com.crm.dao.mapper.trainingManager;

import com.crm.model.entity.trainingManager.TrainingDemand;
import com.crm.model.entity.trainingManager.TrainingDemandExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TrainingDemandMapper {
    long countByExample(TrainingDemandExample example);

    int deleteByExample(TrainingDemandExample example);

    int deleteByPrimaryKey(String trainingDemandId);

    int insert(TrainingDemand record);

    int insertSelective(TrainingDemand record);

    List<TrainingDemand> selectByExample(TrainingDemandExample example);

    TrainingDemand selectByPrimaryKey(String trainingDemandId);

    int updateByExampleSelective(@Param("record") TrainingDemand record, @Param("example") TrainingDemandExample example);

    int updateByExample(@Param("record") TrainingDemand record, @Param("example") TrainingDemandExample example);

    int updateByPrimaryKeySelective(TrainingDemand record);

    int updateByPrimaryKey(TrainingDemand record);
}